<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:wug="http://wug.jp/2009/wug"
      wug:root="jp.wug.samples.Select"
        >
<body>
<form wug:form="form">
    <select wug:select="availableUsers" multiple="multiple">
        <option wug:option="renderAllUsers"/>
    </select>
    <input wug:submit="submit" type="submit"/>
</form>

<wug:e wug:if="hasUserAvailable">
    <form wug:form="form">
        <select wug:select="user">
            <option wug:option="renderUsers"/>
        </select>
        <input wug:submit="submit" type="submit"/>
    </form>
</wug:e>

<wug:e wug:if="userSelected">Hello, ${userName}!</wug:e>
</body>
</html>
